docker install
docker install
Docker 要求系统的内核版本高于3.10
1
uname -r
直接写命令了
1
2
3
4
5
6
7
8
9yum -y update
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install -y docker-ce
groupadd docker
useradd -d /home/docker -g docker -m docker
usermod -aG docker docker
systemctl enable docker
systemctl start docker
docker gitlab
1 | docker pull gitlab/gitlab-ce |
docker onlyoffice/documentserver
1 | docker run -i -t -d -p 9970:80 onlyoffice/documentserver |